package flst.ipiweb.service;

import java.util.ArrayList;
import java.util.List;

import flst.ipiweb.common.Shop;
import flst.ipiweb.common.TypeCode;
import flst.ipiweb.dao.DAOFactory;
import flst.ipiweb.exceptions.IPIWebException;

public class ServiceTypeCode {

	public List<TypeCode> listerTypesCode(){
		
		try {
			return DAOFactory.getTypeCodePromoDAO().listerTypesCode();
		} catch (IPIWebException e) {
			return new ArrayList<TypeCode>();
		}
		
	}
	
}
